package com.bjc.sdx.fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.fragment.app.Fragment;
import com.bjc.sdx.R;

/**
 ***************************************************************
 /*
 *
 * @功能描述 用Fragment制作标题栏
 *
 *****************************************************************
 */
public class TitleFragment extends Fragment {

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        /**
         * 加载布局文件然后返回view，显示在Activity
         */
        View view = inflater.inflate(R.layout.fragment_title, container,false);
        return view;
    }

}